package com.xzh.http;

import android.content.Context;
import android.util.Log;
import android.widget.Toast;

/**
 * Created by Administrator on 2017/1/12 0012.
 */

public class LogUtils {

    private static final String LOG_TAG = "logtag : ";

    public static void log(String log){
        Log.e(LOG_TAG,log);
    }

    public static void show(Context context , String toast){

        if (context != null) {

            Toast.makeText(context,toast, Toast.LENGTH_LONG).show();
        }
    }
}
